package com.clcao.mybatis.common.result;

import lombok.Getter;

/**
 * @author clcao
 * @since 2025/3/11
 */
@Getter
public enum ResultCode {
    SUCCESS("000000", "操作成功"),
    FAIL("999999", "操作失败");

    private final String code;
    private final String message;

    ResultCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
